﻿<Window x:Class="WPEmulatorImageLoader.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="530" Width="620" MinWidth="595">
    <Grid Margin="10">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <TextBlock Text="Windows Phone Emulator Image Loader" FontSize="32" Margin="0,10" />

        <!--<StackPanel Orientation="Vertical" Grid.Row="1">
            <TextBlock Text="App Product ID" FontSize="24" Margin="0,5" />
            <TextBlock Text="In the ." TextWrapping="Wrap" FontSize="14" />
            <StackPanel Orientation="Horizontal" Height="30" Margin="0,10">
                <TextBox Text="d7ba7d9b-3e7e-43ce-ba63-5c857a8208a9" VerticalAlignment="Center" Width="300" Margin="0" />
            </StackPanel>
        </StackPanel>-->

        <StackPanel Orientation="Vertical" Grid.Row="1">
            <TextBlock Text="Camera Roll" FontSize="24" Margin="0,5" />
            <TextBlock Text="Select a folder that contains pictures you want to load to the camera roll of the emulator" TextWrapping="Wrap" FontSize="14" />
            <StackPanel Orientation="Horizontal" Height="30" Margin="0,10">
                <Button Name="btnSelectCameraRollFolder" Content="Select Folder" Padding="5" Click="btnSelectCameraRollFolder_Click" />
                <CheckBox Name="chkCameraRollRecursive" Content="Recursively load sub-folders" IsChecked="True" VerticalAlignment="Center" Margin="10,0" />
            </StackPanel>
            <StackPanel Orientation="Horizontal" Margin="0,0,0,10">
                <TextBlock Text="Load from: " FontSize="14" FontWeight="Bold" />
                <TextBlock Name="txtCameraRollLocation" TextWrapping="Wrap" FontSize="14" />
            </StackPanel>
        </StackPanel>

        <StackPanel Orientation="Vertical" Grid.Row="2">
            <TextBlock Text="Saved Pictures" FontSize="24" Margin="0,5" />
            <TextBlock Text="Select a folder that contains pictures you want to load to the Saved Pictures album of the emulator." TextWrapping="Wrap" FontSize="14" />
            <StackPanel Orientation="Horizontal" Height="30" Margin="0,10">
                <Button Name="btnSelectSavedPicturesFolder" Content="Select Folder" Padding="5" Click="btnSelectSavedPicturesFolder_Click" />
                <CheckBox Name="chkSavedPicturesRecursive" Content="Recursively load sub-folders" IsChecked="True" VerticalAlignment="Center" Margin="10,0" />
            </StackPanel>
            <StackPanel Orientation="Horizontal" Margin="0,0,0,10">
                <TextBlock Text="Load from: " FontSize="14" FontWeight="Bold" />
                <TextBlock Name="txtSavedPicturesLocation" TextWrapping="Wrap" FontSize="14" />
            </StackPanel>
        </StackPanel>

        <Grid Grid.Row="3">
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <Button Name="btnLoad" Content="Load Emulator" HorizontalAlignment="Left" Padding="5" MinWidth="79" Margin="0,60,0,0" Click="btnLoad_Click" />
            <Button Name="btnDisplay" Grid.Column="1" Content="Display Emulator Contents" HorizontalAlignment="Left" Padding="5" MinWidth="79" Margin="0,60,0,0" Click="btnDisplay_Click" />
        </Grid>
    </Grid>
</Window>
